package com.qo.questiononline.model;


public class QlUser {

    private long id;
    private String userNo;
    private String password;
    private String userName;
    private long userType;
    private long userSex;
    private String email;
    private String phone;
    private String tel;
    private String userRole;

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }


    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public long getUserType() {
        return userType;
    }

    public void setUserType(long userType) {
        this.userType = userType;
    }


    public long getUserSex() {
        return userSex;
    }

    public void setUserSex(long userSex) {
        this.userSex = userSex;
    }


    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    @Override
    public String toString() {
        return "SoUser{" +
                "id=" + id +
                ", userNo='" + userNo + '\'' +
                ", password='" + password + '\'' +
                ", userName='" + userName + '\'' +
                ", userType=" + userType +
                ", userSex=" + userSex +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", tel='" + tel + '\'' +
                ", userRole='" + userRole + '\'' +
                '}';
    }

    public String toStringBy() {
        return id + "," + userNo + "," + userName + "," + userType + "," + userSex + "," + email + "," + phone + "," + tel + "," + userRole;
    }
}
